package com.siki.www.clock.vo;


import com.siki.salessystemcommon.entity.Provinces;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @author Siki
 */

@ApiModel("所有省份的信息")
@Getter
@Setter
@ToString
@NoArgsConstructor
public class ProvincesAllInfoVO {
    @ApiModelProperty("省份id")
    Long id;

    @ApiModelProperty("省份名称")
    String name;

    public ProvincesAllInfoVO(Provinces provinces){
        this.id = provinces.getId();
        this.name = provinces.getName();
    }
}
